import 'package:dio/dio.dart';
import 'package:myjd/api/index.dart';

class ProductListApi {
  /**
   * 获取列表
   */
  static getList({cid, page = 1, pageSize = 10, sort = ""}) async {
    Response result = await ApiBase.dio.get(
        "/api/plist?cid=${cid}&page=${page}&pageSize=${pageSize}&sort=${sort}");
    return result;
  }
}
